package edu.hawaii.myisern.exceptions;

/**
 * Custom exception for an invalid organization name.
 * @author John Hauge
 *
 */
public class InvalidOrganizationNameException extends Exception {
  /**
   * Generated serial id.
   */
  private static final long serialVersionUID = -2240451809711590284L;
  private String mistake;
  /**
   * Constructor.
   * @param name Name that is invalid.
   */
  public InvalidOrganizationNameException(String name) {
    super();
    mistake = "Invalid Organization Name: " + name;
  }  
}
